package gdr.connection;

import java.io.*;
import java.net.*;

public class IPGetter {

	public static String ip(){
		try{
			URL url = new URL("http://supergdr9000.altervista.org/my_ip.php");
			BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
			String s = in.readLine();
			in.close();
			return s;
		} catch(Exception e){ }
		return null;
	}
}
